package com.cn.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cn.pojo.Adv;


public interface AdvService extends IService<Adv> {
    //分页查询轮播
    Page<Adv> selectAll(Page page , String advTitle, Integer statusId);
    //根据id删除轮播图
    Integer getDeleteById(Integer id);
    //根据id修改轮播图
    Integer getUpdateById(Adv adv);
    //新增轮播图信息
    Integer getInsert(Adv adv);
    //根据id查询轮播图信息
    Adv selectAllById(Integer id);
}

